﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace PickGold
{
	/// <summary>
	/// 索引接口
	/// </summary>
	[ComVisible(true)]
	public interface IIndex<KEY, VALUE>
	{
		/// <summary>
		/// 获取或设置键值
		/// </summary>
		/// <param name="key">键名</param>
		/// <returns>键值</returns>
		VALUE this[KEY key] { set; get; }
	}
}
